package com.zz.study.sharding.mappers;


import com.zz.study.sharding.entity.TableFieldInfo;
import com.zz.study.sharding.entity.TableInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SlaveSystemMapper   {



    List<TableInfo> queryTableInfoByName(String tableName);

    Long getCountByTableName(String tableName);

    Long getMaxIdByTableName(@Param("tableName")String tableName);

    Long getMinIdByTableName(@Param("tableName")String tableName);
}
